package com.spring.event;

import org.springframework.context.ApplicationEvent;

/**
 * Created by zc on 2016/6/13.
 */
public class BlackListEvent extends ApplicationEvent{
    private final String address;
    private final String test;

    /**
     * Create a new ApplicationEvent.
     *
     * @param source the object on which the event initially occurred (never {@code null})
     * @param address
     * @param test
     */
    public BlackListEvent(Object source, String address, String test) {
        super(source);
        this.address = address;
        this.test = test;
    }
}
